package com.xwj.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by thinkjoy on 2017/7/10.
 */
public class RaMenuInfo implements Serializable {
    private static final long serialVersionUID = 1734057986259648113L;
    private int id;
    private String menu;
    private int pid;
    private String url;
    private int rootId;
    private List<RaMenuInfo> itemmenus;
    private String rootName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMenu() {
        return menu;
    }

    public void setMenu(String menu) {
        this.menu = menu;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<RaMenuInfo> getItemmenus() {
        return itemmenus;
    }

    public void setItemmenus(List<RaMenuInfo> itemmenus) {
        this.itemmenus = itemmenus;
    }

    public int getRootId() {
        return rootId;
    }

    public void setRootId(int rootId) {
        this.rootId = rootId;
    }

    public String getRootName() {
        return rootName;
    }

    public void setRootName(String rootName) {
        this.rootName = rootName;
    }

    @Override
    public String toString() {
        return "RaMenuInfo{" +
                "id=" + id +
                ", menu='" + menu + '\'' +
                ", pid=" + pid +
                ", url='" + url + '\'' +
                ", rootId=" + rootId +
                ", itemmenus=" + itemmenus +
                ", rootName='" + rootName + '\'' +
                '}';
    }
}
